<?php
/*
 * Created on
 * Date: 2007-12-20
 * Author: William Yang
 */
define("PROJECT_DIR_PATH", 			dirname(__FILE__)."/../");
define("CONFIGURATION_DIR_PATH", 	dirname(__FILE__)."/../configuration/");
define("COMMON_DIR_PATH", 			dirname(__FILE__)."/../common/");
define("DB_SESSION_DIR_PATH", 		dirname(__FILE__)."/../db_session/");
define("DB_SQL_DIR_PATH", 			dirname(__FILE__)."/../db_sql/");
define("SESSION_FILES_DIR_PATH", 	dirname(__FILE__)."/../session_files/");
define("TESTS_DIR_PATH", 			dirname(__FILE__)."/../tests/");
define("TRANSACTIONS_DIR_PATH", 	dirname(__FILE__)."/../transactions/");
define("UIS_DIR_PATH", 				dirname(__FILE__)."/../");
define("RESOURCES_DIR_PATH", 		dirname(__FILE__)."/../resources/");
define("IMAGES_DIR_PATH", 			dirname(__FILE__)."/../resources/images/");
define("MOBILE_DIR_PATH", 			dirname(__FILE__)."/../mobile");
define("LIB_MAIL_DIR_PATH", 		dirname(__FILE__)."/libmail");
define("SL_DIR_PATH", 				dirname(__FILE__)."/../silverlight/slideo");

// Configuration for file upload
define("FILE_MAX_SIZE", 409600); // 400 kb

// Configuration for bulletin.
define("MSG_MAX_LENGTH_TO_SHOW", 400);

require_once("error_report.php");
?>
